import config from "@/config"
import http from "@/utils/request"

export default {
	gaoym_test: {
		url: `${config.API_URL_front}/api/`,
		name: "测试",
		get: async function(){
			return await http.get(this.url);
		}
	},
    query_que_performance_person:{
        url: `${config.API_URL_front}/api/query/que/performance/person`,
		name: "查询个人问处绩效数据",
		post: async function(name){
			return await http.post(this.url,name);
		}
    },
	query_que_num_and_ratio_person:{
        url: `${config.API_URL_front}/api/query/que/num/ratio`,
		name: "查询个人问处工单数以及上升比例",
		post: async function(name){
			return await http.post(this.url,name);
		}
    },
	query_que_day_num:{
        url: `${config.API_URL_front}/api/query/que/day/num`,
		name: "查询个人季度工单变化趋势",
		post: async function(name){
			return await http.post(this.url,name);
		}
    },
	create_notify_item:{
		url: `${config.API_URL_front}/api/create/notify/item`,
		name: "创建消息提醒",
		post: async function(notify){
			return await http.post(this.url,notify);
		}
	}
}